function getString() {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve('Hello Webpack!')
    }, 2000)
  })
}

async function helloWebpack() {
  // console.log('hello webpack!');
  let string = await getString();
  console.log(string, 'string');
}

export default helloWebpack;